<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<!-- open ckfinder dialog -->
<script type="text/javascript">

	function BrowseServer()
	{	
		var finder = new CKFinder();
		finder.basePath = '../';	// The path for the installation of CKFinder (default = "/ckfinder/").
		finder.selectActionFunction = SetFileField;
		finder.popup();
	}
	function SetFileField( fileUrl )
	{
		document.getElementById( 'imageurl' ).value = fileUrl;
	}

</script>


</head>
<body>

<div class="pageHeader">

<div class="pageFormContent" defH="60">

<p><label>文章标题：</label> <input name="title" type="text" size="30"
	id="title" maxlength="50" class="required" value="{$vo['title']}" />
</p>
<p><label>文章作者：</label> <input name="author" type="text" size="30"
	id="author" maxlength="30" class="required" value="{$vo['author']}" />
</p>
<p><label>文章引用：</label> <input name="rel" type="text" size="30"
	id="rel" value="{$vo['rel']}" /></p>
<p><label>所属新闻分类：</label>


 
	<select class="combox" name="newscatalog" >
		
		
			<empty name="vo['id']">
					<volist name="newscatalogList" id="newscatalogvo">
						<option value="{$newscatalogvo['id']}" >{$newscatalogvo['name']}</option>
					</volist>					
				<else />
					<volist name="newscatalogList" id="newscatalogvo">
						<if condition="$vo['news_catalog_id'] eq $newscatalogvo['id']">
							<option value="{$newscatalogvo['id']}" selected="selected">{$newscatalogvo['name']}</option>
							<else />
							<option value="{$newscatalogvo['id']}">{$newscatalogvo['name']}</option>
						</if>
					</volist>	
			</empty>		
	</select> 
</p>

<p></p>
<p></p>

<!-- 
<p><label>是否发布至首页：</label> <if condition="$vo['publishindex'] eq 1">
<input type="radio" name="publishindex" value="1" checked="checked" />是
<input type="radio" name="publishindex" value="0" />否 <else /> <input
	type="radio" name="publishindex" value="1" />是 <input type="radio"
	name="publishindex" value="0" checked="checked" />否 </if></p>
	 -->
<p><label>是否发布至图片新闻：</label> <if condition="$vo['publishnewsindex'] eq 1">
<input type="radio" name="publishnewsindex" value="1" checked="checked" />是
<input type="radio" name="publishnewsindex" value="0" />否 <else /> <input
	type="radio" name="publishnewsindex" value="1" />是 <input type="radio"
	name="publishnewsindex" value="0" checked="checked" />否 </if></p>
	
<p><label>是否分类头条新闻：</label> <if condition="$vo['publishcatalog'] eq 1">
<input type="radio" name="publishcatalog" value="1" checked="checked" />是
<input type="radio" name="publishcatalog" value="0" />否 <else /> <input
	type="radio" name="publishcatalog" value="1" />是 <input type="radio"
	name="publishcatalog" value="0" checked="checked" />否 </if></p>
	
<p><label>是否推荐阅读：</label> <if condition="$vo['publishrecommend'] eq 1">
<input type="radio" name="publishrecommend" value="1" checked="checked" />是
<input type="radio" name="publishrecommend" value="0" />否 <else /> <input
	type="radio" name="publishrecommend" value="1" />是 <input type="radio"
	name="publishrecommend" value="0" checked="checked" />否 </if></p>
	

<p id="image_small">
	<label>新闻图片：</label>
	<img src="__PUBLIC__/uploadfiles/files/common/{$vo['imageurl_small']}">
</p>

<p><label>新闻图片上传：</label>
<input name="image" id="image" type="file" class="file huge" /> 
</p>
<p></p><p></p><p></p><p></p>
<dl class="nowrap">
	<dt>文章摘要（不要超过100个汉字）：</dt>
	<dd><textarea name="summary" cols="131" rows="5" id="summary"
		maxlength="100">{$vo['summary']}</textarea></dd>
</dl>




<dl class="nowrap">
	<div class="buttonActive">
	<div class="buttonContent">
	<button type="submit">提 交</button>
	</div>
	</div>
</dl>

</div>
</div>



</body>
</html>